package com.dietmanager.model.javafx.util;

import javafx.beans.property.SimpleStringProperty;

//Class for loging
public class WorkoutListEntry {
	private final SimpleStringProperty name;
	private final SimpleStringProperty calories;
	private final SimpleStringProperty minutes;
	private final SimpleStringProperty repetitions;

	public WorkoutListEntry(String n, String c, String v) {
		this.name = new SimpleStringProperty(n);
		this.calories = new SimpleStringProperty(c);
		this.minutes = new SimpleStringProperty(v);
		this.repetitions = new SimpleStringProperty("");
	}

	public WorkoutListEntry(String n, String c, String v, String r) {
		this.name = new SimpleStringProperty(n);
		this.calories = new SimpleStringProperty(c);
		this.minutes = new SimpleStringProperty(v);
		this.repetitions = new SimpleStringProperty(r);
	}

	public String getName() {
		return name.get();
	}

	public void setName(String n) {
		name.set(n);
	}

	public String getRepetitions() {
		return repetitions.get();
	}

	public void setRepetitions(String r) {
		repetitions.set(r);
	}

	public String getMinutes() {
		return minutes.get();
	}

	public void setMinutes(String m) {
		minutes.set(m);
	}

	public String getCalories() {
		return calories.get();
	}

	public void setCalories(String c) {
		calories.set(c);
	}

}